package com.tencreat.common.enums.account;

import com.fasterxml.jackson.annotation.JsonValue;

public enum CitySmsTypeEnum {

	/** 注册 **/
	REGISTERED(3101,"注册"),
	/** 忘记密码 **/
	FORGET_PASSWORD(3102,"忘记密码"),
	/** 验证码登录 **/
	CODE_LOGIN(3103,"验证码登录"),
	/** 微信、QQ第三方绑定 **/
	THIRD_BIND(3104,"微信、QQ第三方绑定"),
	/** 换绑手机号(旧手机号) **/
	CHECK_OLD_PHONE(3105,"换绑手机号(旧手机号)"),
	/** 换绑手机号(新手机号) **/
	CHECK_NEW_PHONE(3106,"换绑手机号(新手机号)"),
	UPDATE_PASSWORD(4104,"修改密码"),
	/** 绑定支付宝 **/
	@Deprecated
	BIND_ALI(3107,"绑定支付宝"),
	/** 绑定微信 **/
	@Deprecated
	BIND_WX(3108,"绑定微信"),
	/** 绑定银行卡 **/
	@Deprecated
	BIND_BANK(3109,"绑定银行卡"),

	/** 管理后台自提订单确认自提 **/
	@Deprecated
	MANAGE_ST_ORDER_CONFIRM(3201,"管理后台自提订单确认自提"),
	/** 管理后台注册成为店铺推广员 **/
	@Deprecated
	MANAGE_APPLY_SHOP_PROMOTER(3202,"管理后台注册成为店铺推广员"),

	/** 支付宝提现 **/
	@Deprecated
	WITHDRAWAL_ALI(4101,"支付宝提现"),
	/** 微信提现 **/
	@Deprecated
	WITHDRAWAL_WX(4102,"微信提现"),
	/** 银行卡提现 **/
	@Deprecated
	WITHDRAWAL_BANK(4103,"银行卡提现");

	@JsonValue
	private Integer type;

	private String desc;

	private CitySmsTypeEnum(Integer type, String desc) {
		this.desc = desc;
		this.type = type;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public String getDesc() {
		return desc;
	}

	public void setDesc(String desc) {
		this.desc = desc;
	}

	@Override
	public String toString() {
		return type + "-" +desc;
	}
}
